<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="#A" data-toggle="tab">服务器列表</a></li>
			<li><a href="{:url('server/edit')}">添加服务器</a></li>
		</ul>
        
        <div>
            <table class="table table-hover table-bordered">
                 <thead>
            <tr>
                <th>ID</th>
                <th>服务器名称</th>
                <th>请求URL</th>
                <th>密钥</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
                <foreach id="vo" name="server">
                    <tr>  
                        <td>{$vo.serverid}</td>
                        <td>{$vo.servername}</td>
                        <td>{$vo.serverurl}</td>
                        <td>{$vo.serversec}</td>
                        <td><a href="{:url('Server/edit',array('id'=>$vo['serverid']))}">编辑</a></td>
                    </tr>
                </foreach>
            </tbody>
            </table>
        </div>
 {$page}
	</div>
	<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>